<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
 <script type="text/javascript" src="${ctxStatic}/wangEditor/wangEditor.min.js"></script>
<input type="hidden" name="countryOrProvince" value="${checkProject.countryOrProvince}">
<input type="hidden" id="status" value="${checkProject.status}">
<input type="hidden" name="retrieval" id="retrieval" value='${checkTable.retrieval}'>
<input type="hidden" name="checkTable.id" id="id" value="${checkTable.id}">
		<div class="model">
			<p id="x_title">公路${moduleName}检查管理规范化检查评分表</p>
			<legend>
				一、基本信息
				<c:if test="${not empty checkTable.id}">
					<div style="float:right;margin-right:20px;">
						<span class="check-head">检查得分 : <span id="score">${checkTable.testFull}</span></span>
						<span class="check-head x_check-head">系统完善度 : <span id="perfect">${checkTable.perfection}%</span></span>
					</div>
				</c:if>
			</legend>
			<div class="content-title">
				<div style="float:left;margin-right:10px;">
					<div class="x_road-type">
						<span >　　类 型 : </span>
					</div>
					<div id="select1">
						<c:if test="${checkProject.countryOrProvince eq 0}">
							<pt:code name="roadType" category="1015" hasEmpty="false" default="1" disabled="true"></pt:code>
						</c:if>
						<c:if test="${checkProject.countryOrProvince eq 1}">
							<pt:code name="roadType" category="1015" hasEmpty="false" default=""></pt:code>
						</c:if>
					</div><div class="clear"></div>
				</div>
				
				<div style="float:left;min-width:500px;">
					<div class="x_road-type">
						<span>&nbsp;检查类别 : </span>
					</div>
					<div id="select2" style="max-width:400px;float:left">
						<c:set var="left" value="${fns:encodeParam(left)}" />
						<c:set var="pid" value="${fns:encodeParam(pid)}"/>
						<c:set var="parentId" value="${fns:encodeParam(parentId)}"/>
						<c:forEach items="${menuList}" var="menu" varStatus="idxStatus">
							<c:if test="${menu.id eq left}">
								<input type="text" id="selectTion4" style="float:${not empty pid ?'left':'right'}" class="selectTion2" disabled=disabled  name="sysMuneName1" value="${menu.name}" />
							</c:if>
							<c:if test="${menu.id eq pid}">
								<input type="text" id="selectTion2" style="float:${not empty pid ?'left':'right'}" class="selectTion2" disabled=disabled  name="sysMuneName1" value="${menu.name}" />	
							</c:if>
							<c:if test="${menu.id eq menuId}">
								<input type="text" id="selectTion3" style="float:${not empty pid ?'left':'right'}" class="selectTion2"  disabled=disabled  name="sysMuneName1" value="${menu.name}" />	
								<input type="hidden" id="tag1" class="selectTion2"  disabled=disabled  name="tag1" value="${menu.tag}" />					
							</c:if>
						</c:forEach>
					</div>
				</div>
			</div>
		</div>
		<div class="model">
			<div>
				<legend>二、评分表</legend>
				<div class="content-title">
					<span>检查内容<font style="color:red;">*</font>:</span>
				</div>
				<div class="content-text">
					<textarea name="checkContent" id="checkContent" class="check-content required">${checkTable.checkContent}</textarea>
				</div>
				<div class="content-title">
					<span >评分标准<font style="color:red;">*</font>:</span>
				</div>
				<div class="content-text">
					<textarea name="scoringStandard" id="scoringStandard" class="standard required">${checkTable.scoringStandard}</textarea>
				</div>
				<div class="content-title">
					<span>评分细则<font style="color:red;">*</font>:</span>
				</div>
				<div class="content-text">
					<textarea name="scoringRubric" id="scoringRubric" class="rubric required">${checkTable.scoringRubric}</textarea>
				</div>
				
				<div class="content-title">
					<span>落实情况<font style="color:red;">*</font>:</span>
				</div>
				<div class="content-text">
					<textarea name="implementation" id="implementation" class="situation required">${checkTable.implementation}</textarea>
				</div>
			</div>
</div>
<script>
var imgRight = "<img src='${ctx}/images/right.jpg' style='width:20px;height:20px'>";
var imgError = "<img src='${ctx}/images/error.jpg' style='width:20px;height:20px'>";
	$(function(){
		var data = $.parseJSON($('#retrieval').val());
		loadDataToDiv('condition',data);
	})
</script>